package com.ruoyi.generator.mapper;

import com.ruoyi.generator.domain.GenTableSql;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import com.ruoyi.common.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * 代码生成业务Mapper接口(自定义接口)
 *
 * @author 众智汇云研发部
 * @date 2021-11-23
 */
@Repository
public interface GenTableSqlMapper extends BaseMapper<GenTableSql> {
    /**
     * 运行sql
     *
     * @param genTable sql
     * @return 业务集合
     */
    @Select("${sqlStr}")
    public List<Map<String,Object>> yunxinSql(@Param(value = "sqlStr") String sqlStr);

}
